package com.zkthink.clh.order.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zkthink.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * <p>
 * 实体类
 * 轮播图
 * </p>
 *
 * @author chenke
 * @since 2022-05-28
 */
@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("chl_lbt")
@ApiModel(value = "ChlLbt", description = "轮播图")
@AllArgsConstructor
public class ChlLbt extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    /**
     * 轮播图
     */
    @ApiModelProperty(value = "轮播图")
    @Length(max = 65535, message = "轮播图长度不能超过65535")
    @TableField("img")
    @Excel(name = "轮播图")
    private String img;




}
